package com.xhs.main.dao.rsb;

import com.xhs.main.entity.rsb.RsbApply;

import java.util.List;

/**
 * @author author
 * @create 2020-10-23-21:24
 */
public interface RsbApplyDao {

    //添加申请
    void insertApply(RsbApply rsbApply);
    //删除申请
    void deleteApply(String rsbApNum);
    //修改状态
    void updateApply(String rsbApNum,String rsbApTime);
    //修改状态
    void updateApply2(String rsbApNum,String rsbApTime);
    //申请人查询申请
    List<RsbApply> selectByUserName(String userName);
    //申请编号查询申请
    RsbApply selectByRsbApNum(String rsbApNum);
    //审批人查询申请
    List<RsbApply> selectByRsbApPeople(String rsbApPeople);
    //查询所有申请
    List<RsbApply> selectAllApply();
    //查询除出差、加班外的天数
    List<RsbApply> selectNotIn(String userName);

}
